#用例类
from time import sleep
from selenium import webdriver
from Day18.Page import Page
from Day18.Page2 import jiuxian
import unittest

class jiuxianyl(unittest.TestCase):
    def setUp(self) -> None:
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
    def tearDown(self) -> None:
        self.driver.quit()
        sleep(10)

    def test_01_jiuxian(self):
        po=jiuxian(self.driver)
        po.luoji_jiuxian_01()

    # def test_02_jiuxian(self):
    #     po = jiuxian(self.driver)
    #     self.test_01_jiuxian()
    #     po.luoji_jiuxian_02()

        # po.luoji_jiuxian_02()
    # def test_03_jiuxian(self):
    #     po=test_page3(self.driver)
    #     po.luoji_jiuxian_03()
    #     sleep(5)







#执行
if __name__ == '__main__':
    unittest.main()